/*   
 * Template Name: PrettyDocs - Responsive Website Template for documentations
 * Version: 1.0
 * Author: Xiaoying Riley
 * License: Creative Commons Attribution 3.0 License - https://creativecommons.org/licenses/by/3.0/
 * Twitter: @3rdwave_themes
 * Website: http://themes.3rdwavemedia.com/
*/
/* Theme default */
/* ======= Base ======= */
body {
    font-family: 'Open Sans', arial, sans-serif;
    color: #343434;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html,
body {
    height: 100%;
}

.page-wrapper {
    min-height: 100%;
    /* equal to footer height */
    margin-bottom: -50px;
}

.page-wrapper:after {
    content: "";
    display: block;
    height: 50px;
}

.footer {
    height: 50px;
}

p {
    line-height: 1.5;
}

.search-results li {
    display: block;
}

a {
    color: #3aa7aa;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
}

a:hover {
    text-decoration: underline;
    color: #339597;
}

a:focus {
    text-decoration: none;
}

code {
    background: #fff;
    color: #333;
    font-size: 14px;
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
    padding: 0 0;
    border-radius: 0;
}

.btn,
a.btn {
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
}

.btn .fa,
a.btn .fa {
    margin-right: 5px;
}

.btn-primary,
a.btn-primary {
    background: #40babd;
    border: 1px solid #40babd;
    color: #fff !important;
}

.btn-primary:hover,
a.btn-primary:hover,
.btn-primary:focus,
a.btn-primary:focus,
.btn-primary:active,
a.btn-primary:active,
.btn-primary.active,
a.btn-primary.active,
.btn-primary.hover,
a.btn-primary.hover {
    background: #3aa7aa;
    color: #fff !important;
    border: 1px solid #3aa7aa;
}

.btn-green,
a.btn-green {
    background: #75c181;
    border: 1px solid #75c181;
    color: #fff !important;
}

.btn-green:hover,
a.btn-green:hover,
.btn-green:focus,
a.btn-green:focus,
.btn-green:active,
a.btn-green:active,
.btn-green.active,
a.btn-green.active,
.btn-green.hover,
a.btn-green.hover {
    background: #63b971;
    color: #fff !important;
    border: 1px solid #63b971;
}

.body-green .btn-green,
.body-green a.btn-green {
    color: #fff !important;
}

.body-green .btn-green:hover,
.body-green a.btn-green:hover,
.body-green .btn-green:focus,
.body-green a.btn-green:focus,
.body-green .btn-green:active,
.body-green a.btn-green:active,
.body-green .btn-green.active,
.body-green a.btn-green.active,
.body-green .btn-green.hover,
.body-green a.btn-green.hover {
    color: #fff !important;
}

.btn-blue,
a.btn-blue {
    background: #58bbee;
    border: 1px solid #58bbee;
    color: #fff !important;
}

.btn-blue:hover,
a.btn-blue:hover,
.btn-blue:focus,
a.btn-blue:focus,
.btn-blue:active,
a.btn-blue:active,
.btn-blue.active,
a.btn-blue.active,
.btn-blue.hover,
a.btn-blue.hover {
    background: #41b2ec;
    color: #fff !important;
    border: 1px solid #41b2ec;
}

.btn-orange,
a.btn-orange {
    background: #F88C30;
    border: 1px solid #F88C30;
    color: #fff !important;
}

.btn-orange:hover,
a.btn-orange:hover,
.btn-orange:focus,
a.btn-orange:focus,
.btn-orange:active,
a.btn-orange:active,
.btn-orange.active,
a.btn-orange.active,
.btn-orange.hover,
a.btn-orange.hover {
    background: #f77e17;
    color: #fff !important;
    border: 1px solid #f77e17;
}

.btn-red,
a.btn-red {
    background: #f77b6b;
    border: 1px solid #f77b6b;
    color: #fff !important;
}

.btn-red:hover,
a.btn-red:hover,
.btn-red:focus,
a.btn-red:focus,
.btn-red:active,
a.btn-red:active,
.btn-red.active,
a.btn-red.active,
.btn-red.hover,
a.btn-red.hover {
    background: #f66553;
    color: #fff !important;
    border: 1px solid #f66553;
}

.btn-pink,
a.btn-pink {
    background: #EA5395;
    border: 1px solid #EA5395;
    color: #fff !important;
}

.btn-pink:hover,
a.btn-pink:hover,
.btn-pink:focus,
a.btn-pink:focus,
.btn-pink:active,
a.btn-pink:active,
.btn-pink.active,
a.btn-pink.active,
.btn-pink.hover,
a.btn-pink.hover {
    background: #e73c87;
    color: #fff !important;
    border: 1px solid #e73c87;
}

.btn-purple,
a.btn-purple {
    background: #8A40A7;
    border: 1px solid #8A40A7;
    color: #fff !important;
}

.btn-purple:hover,
a.btn-purple:hover,
.btn-purple:focus,
a.btn-purple:focus,
.btn-purple:active,
a.btn-purple:active,
.btn-purple.active,
a.btn-purple.active,
.btn-purple.hover,
a.btn-purple.hover {
    background: #7b3995;
    color: #fff !important;
    border: 1px solid #7b3995;
}

.btn-cta {
    padding: 7px 15px;
}

.form-control {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    height: 40px;
    border-color: #f0f0f0;
}

.form-control::-webkit-input-placeholder {
    /* WebKit browsers */
    color: #afb3bb;
}

.form-control:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: #afb3bb;
}

.form-control::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: #afb3bb;
}

.form-control:-ms-input-placeholder {
    /* Internet Explorer 10+ */
    color: #afb3bb;
}

.form-control:focus {
    border-color: #e3e3e3;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="submit"],
input[type="button"],
textarea,
select {
    appearance: none;
    /* for mobile safari */
    -webkit-appearance: none;
}

#topcontrol {
    background: #40babd;
    color: #fff;
    text-align: center;
    display: inline-block;
    width: 35px;
    height: 35px;
    border: none;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    z-index: 30;
}

#topcontrol:hover {
    background: #52c2c4;
}

#topcontrol .fa {
    position: relative;
    top: 3px;
    font-size: 25px;
}

.video-container iframe {
    max-width: 100%;
}

/* ====== Header ====== */
.header {
    background: #35304e;
    color: rgba(255, 255, 255, 0.85);
    border-top: 5px solid #40babd;
    padding: 30px 0;
}

.header a {
    color: #fff;
}

.branding {
    text-transform: uppercase;
    margin-bottom: 10px;
}

.branding .logo {
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 0;
}

.branding .logo a {
    text-decoration: none;
}

.branding .text-highlight {
    color: #40babd;
}

.body-green .branding .text-highlight {
    color: #75c181;
}

.body-blue .branding .text-highlight {
    color: #58bbee;
}

.body-orange .branding .text-highlight {
    color: #F88C30;
}

.body-red .branding .text-highlight {
    color: #f77b6b;
}

.body-pink .branding .text-highlight {
    color: #EA5395;
}

.body-purple .branding .text-highlight {
    color: #8A40A7;
}

.branding .text-bold {
    font-weight: 800;
    color: #fff;
}

.branding .icon {
    font-size: 24px;
    color: #40babd;
}

.body-green .branding .icon {
    color: #75c181;
}

.body-blue .branding .icon {
    color: #58bbee;
}

.body-orange .branding .icon {
    color: #F88C30;
}

.body-red .branding .icon {
    color: #f77b6b;
}

.body-pink .branding .icon {
    color: #EA5395;
}

.body-purple .branding .icon {
    color: #8A40A7;
}

.breadcrumb {
    background: none;
    margin-bottom: 0;
    padding: 0;
}

.breadcrumb li {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb li.active {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb li a {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb li a:hover {
    color: #fff;
}

.breadcrumb > li + li:before {
    color: rgba(255, 255, 255, 0.5);
}

/* ====== Footer ====== */
.footer {
    height: 90px;
    background: #1a1a1a;
    color: #b2b2b2;
    line-height: 40px;
    padding: 15px 0;
}

.footer .terms-copyright {
    float: left;
    height: 40px;
}

.footer .terms-sponsor {
    position: relative;
    float: right;
    right: 0;
    height: 40px;
}

.footer a {
    color: #40babd;
}

.footer .fa-heart {
    color: #EA5395;
}

/* ======= Doc Styling ======= */
.doc-wrapper {
    padding: 45px 0;
    /*
    background: #f9f9fb;
    */
}

.doc-body {
    position: relative;
}

.doc-header {
    margin-bottom: 30px;
}

.doc-header .doc-title {
    color: #40babd;
    margin-top: 0;
    font-size: 36px;
}

.body-green .doc-header .doc-title {
    color: #75c181;
}

.body-blue .doc-header .doc-title {
    color: #58bbee;
}

.body-orange .doc-header .doc-title {
    color: #F88C30;
}

.body-red .doc-header .doc-title {
    color: #f77b6b;
}

.body-pink .doc-header .doc-title {
    color: #EA5395;
}

.body-purple .doc-header .doc-title {
    color: #8A40A7;
}

.doc-header .icon {
    font-size: 30px;
}

.doc-header .meta {
    color: #a2a6af;
}

.doc-content {
    margin-left: 230px;
    overflow: hidden;
}

.doc-section {
    padding-top: 15px;
    padding-bottom: 15px;
}

.doc-section .section-title {
    font-size: 26px;
    margin-top: 0;
    margin-bottom: 0;
    font-weight: bold;
    padding-bottom: 10px;
    border-bottom: 1px solid #d7d7d7;
}

.doc-section h1 {
    font-size: 24px;
    font-weight: bold;
}

.doc-section h2 {
    font-size: 22px;
    font-weight: bold;
}

.doc-section h3 {
    font-size: 20px;
    font-weight: bold;
}

.doc-section h4 {
    font-size: 18px;
    font-weight: bold;
}

.doc-section h5 {
    font-size: 16px;
    font-weight: bold;
}

.doc-section h6 {
    font-size: 14px;
    font-weight: bold;
}

.section-block {
    padding-top: 15px;
    padding-bottom: 15px;
}

.section-block .block-title {
    margin-top: 0;
}

.section-block .list > li {
    margin-bottom: 10px;
}

.section-block .list ul > li {
    margin-top: 5px;
}

.question {
    font-weight: 400 !important;
    color: #3aa7aa;
}

.question .body-green {
    color: #63b971;
}

.body-blue .question {
    color: #41b2ec;
}

.body-orange .question {
    color: #f77e17;
}

.body-pink .question {
    color: #e73c87;
}

.body-purple .question {
    color: #7b3995;
}

.question .fa {
    -webkit-opacity: 0.6;
    -moz-opacity: 0.6;
    opacity: 0.6;
}

.question .label {
    font-size: 11px;
    vertical-align: middle;
}

.answer {
    color: #616670;
}

.code-block {
    margin-top: 30px;
    margin-bottom: 30px;
}

.callout-block {
    padding: 30px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    position: relative;
    margin-bottom: 30px;
}

.callout-block a {
    color: rgba(0, 0, 0, 0.55) !important;
}

.callout-block a:hover {
    color: rgba(0, 0, 0, 0.65) !important;
}

.callout-block .icon-holder {
    font-size: 30px;
    position: absolute;
    left: 30px;
    top: 30px;
    color: rgba(0, 0, 0, 0.25);
}

.callout-block .content {
    margin-left: 60px;
}

.callout-block .content p:last-child {
    margin-bottom: 0;
}

.callout-block .callout-title {
    margin-top: 0;
    margin-bottom: 5px;
    color: rgba(0, 0, 0, 0.65);
}

.callout-info {
    background: #58bbee;
    color: #fff;
}

.callout-success {
    background: #75c181;
    color: #fff;
}

.callout-warning {
    background: #F88C30;
    color: #fff;
}

.callout-danger {
    background: #f77b6b;
    color: #fff;
}

.table > thead > tr > th {
    border-bottom-color: #8bd6d8;
}

.body-green .table > thead > tr > th {
    border-bottom-color: #bbe1c1;
}

.body-blue .table > thead > tr > th {
    border-bottom-color: #b5e1f7;
}

.body-orange .table > thead > tr > th {
    border-bottom-color: #fbc393;
}

.body-pink .table > thead > tr > th {
    border-bottom-color: #f5aecd;
}

.body-purple .table > thead > tr > th {
    border-bottom-color: #b87fce;
}

.table-bordered > thead > tr > th {
    border-bottom-color: inherit;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #f5f5f5;
}

.signature {
    background-color: #eee;
    padding: 4px;
    border-radius: 4px;
}

.signature code {
    background-color: inherit;
}

table.api-docs-table {
    margin-bottom: 30px;
    border: 1px solid #dcdcdc;
    width: 100%;
}

table.api-docs-table tr {
    border-bottom: 1px solid #dcdcdc;
}

table.api-docs-table td {
    padding: 12px;
    vertical-align: top;
    min-width: 120px;
}

table.api-docs-table td p {
    margin: 0;
}

.screenshot-holder {
    margin-top: 15px;
    margin-bottom: 15px;
    position: relative;
    text-align: center;
}

.screenshot-holder img {
    border: 1px solid #f0f0f0;
}

.screenshot-holder .mask {
    display: block;
    visibility: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.25);
    cursor: pointer;
    text-decoration: none;
}

.screenshot-holder .mask .icon {
    color: #fff;
    font-size: 42px;
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    margin-top: -21px;
}

.screenshot-holder:hover .mask {
    visibility: visible;
}

.jumbotron h1 {
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 30px;
}

.author-profile {
    margin-top: 30px;
}

.author-profile img {
    width: 100px;
    height: 100px;
}

.speech-bubble {
    background: #fff;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    padding: 30px;
    margin-top: 20px;
    margin-bottom: 30px;
    position: relative;
}

.speech-bubble .speech-title {
    font-size: 16px;
}

.jumbotron .speech-bubble p {
    font-size: 14px;
    font-weight: normal;
    color: #616670;
}

.speech-bubble:before {
    content: "";
    display: inline-block;
    position: absolute;
    left: 50%;
    top: -10px;
    margin-left: -10px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #fff;
}

.card {
    text-align: center;
    border: 1px solid #e3e3e3;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    margin-bottom: 30px;
    position: relative;
}

.card .card-block {
    padding: 15px;
}

.card .mask {
    display: block;
    visibility: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.25);
    cursor: pointer;
    text-decoration: none;
}

.card .mask .icon {
    color: #fff;
    font-size: 42px;
    margin-top: 25%;
}

.card:hover .mask {
    visibility: visible;
}

/* Color Schemes */
.body-green .header {
    border-color: #75c181;
}

.body-green a {
    color: #75c181;
}

.body-green a:hover {
    color: #52b161;
}

.body-blue .header {
    border-color: #58bbee;
}

.body-blue a {
    color: #58bbee;
}

.body-blue a:hover {
    color: #2aa8e9;
}

.body-orange .header {
    border-color: #F88C30;
}

.body-orange a {
    color: #F88C30;
}

.body-orange a:hover {
    color: #ed7108;
}

.body-pink .header {
    border-color: #EA5395;
}

.body-pink a {
    color: #EA5395;
}

.body-pink a:hover {
    color: #e42679;
}

.body-purple .header {
    border-color: #8A40A7;
}

.body-purple a {
    color: #8A40A7;
}

.body-purple a:hover {
    color: #6c3282;
}

.body-red .header {
    border-color: #f77b6b;
}

.body-red a {
    color: #f77b6b;
}

.body-red a:hover {
    color: #f4503b;
}

/* Sidebar */
.doc-sidebar {
    width: 200px;
    float: left;
}

.doc-menu {
    list-style: none;
    padding-left: 0;
}

/*.doc-menu > li {
    margin-bottom: 5px;
}*/

.doc-menu > li > a {
    display: block;
    padding: 5px 15px;
    border-left: 4px solid transparent;
}

.doc-menu > li > a:hover,
.doc-menu > li > a:focus {
    text-decoration: underline;
    background: none;
}

.doc-menu > li.active > a {
    background: none;
    border-left: 4px solid #40babd;
    color: #40babd;
    font-weight: 600;
}

.body-green .doc-menu > li.active > a {
    color: #75c181;
    border-color: #75c181;
}

.body-blue .doc-menu > li.active > a {
    color: #58bbee;
    border-color: #58bbee;
}

.body-orange .doc-menu > li.active > a {
    color: #F88C30;
    border-color: #F88C30;
}

.body-red .doc-menu > li.active > a {
    color: #f77b6b;
    border-color: #f77b6b;
}

.body-pink .doc-menu > li.active > a {
    color: #EA5395;
    border-color: #EA5395;
}

.body-purple .doc-menu > li.active > a {
    color: #8A40A7;
    border-color: #8A40A7;
}

.doc-sub-menu {
    list-style: none;
    padding-left: 0;
}

.doc-sub-menu > li {
    margin-bottom: 10px;
    font-size: 12px;
}

.doc-sub-menu > li:first-child {
    padding-top: 5px;
}

.doc-sub-menu > li > a {
    display: block;
    color: #616670;
    padding: 0;
    padding-left: 34px;
    background: none;
}

.doc-sub-menu > li > a:hover {
    color: #40babd;
    text-decoration: none;
    background: none;
}

.body-green .doc-sub-menu > li > a:hover {
    color: #75c181;
}

.body-blue .doc-sub-menu > li > a:hover {
    color: #58bbee;
}

.body-orange .doc-sub-menu > li > a:hover {
    color: #F88C30;
}

.body-red .doc-sub-menu > li > a:hover {
    color: #f77b6b;
}

.body-pink .doc-sub-menu > li > a:hover {
    color: #EA5395;
}

.body-purple .doc-sub-menu > li > a:hover {
    color: #8A40A7;
}

.doc-sub-menu > li > a:focus {
    background: none;
}

.doc-sub-menu > li.active > a {
    background: none;
    color: #40babd;
}

.body-green .doc-sub-menu > li.active > a {
    color: #75c181;
}

.body-blue .doc-sub-menu > li.active > a {
    color: #58bbee;
}

.body-orange .doc-sub-menu > li.active > a {
    color: #F88C30;
}

.body-red .doc-sub-menu > li.active > a {
    color: #f77b6b;
}

.body-pink .doc-sub-menu > li.active > a {
    color: #EA5395;
}

.body-purple .doc-sub-menu > li.active > a {
    color: #8A40A7;
}

.affix-top {
    position: absolute;
    top: 15px;
}

.affix {
    top: 15px;
}

.affix,
.affix-bottom {
    width: 230px;
}

.affix-bottom {
    position: absolute;
}

/* ===== Promo block ===== */
.promo-block {
    background: #3aa7aa;
}

.body-green .promo-block {
    background: #63b971;
}

.body-blue .promo-block {
    background: #41b2ec;
}

.body-orange .promo-block {
    background: #f77e17;
}

.body-pink .promo-block {
    background: #e73c87;
}

.body-purple .promo-block {
    background: #7b3995;
}

.promo-block a {
    color: rgba(0, 0, 0, 0.5);
}

.promo-block a:hover {
    color: rgba(0, 0, 0, 0.6);
}

.promo-block .promo-block-inner {
    padding: 45px;
    color: #fff;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}

.promo-block .promo-title {
    font-size: 20px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 45px;
}

.promo-block .promo-title .fa {
    color: rgba(0, 0, 0, 0.5);
}

.promo-block .figure-holder-inner {
    background: #fff;
    margin-bottom: 30px;
    position: relative;
    text-align: center;
}

.promo-block .figure-holder-inner img {
    border: 5px solid #fff;
}

.promo-block .figure-holder-inner .mask {
    display: block;
    visibility: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(255, 255, 255, 0.65);
    cursor: pointer;
    text-decoration: none;
}

.promo-block .figure-holder-inner .mask .icon {
    color: #fff;
    font-size: 42px;
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    margin-top: -21px;
}

.promo-block .figure-holder-inner .mask .icon.pink {
    color: #EA5395;
}

.promo-block .figure-holder-inner:hover .mask {
    visibility: visible;
}

.promo-block .content-holder-inner {
    padding-left: 15px;
    padding-right: 15px;
}

.promo-block .content-title {
    font-size: 16px;
    font-weight: 600;
    margin-top: 0;
}

.promo-block .highlight {
    color: rgba(0, 0, 0, 0.4);
}

.promo-block .btn-cta {
    background: rgba(0, 0, 0, 0.35);
    border: none;
    color: #fff !important;
    margin-bottom: 15px;
}

.promo-block .btn-cta:hover {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff !important;
}

/* Extra small devices (phones, less than 768px) */
@media (max-width: 767px) {
    .doc-content {
        margin-left: 0;
    }

    .jumbotron {
        padding: 30px 15px;
    }

    .jumbotron h1 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .jumbotron p {
        font-size: 18px;
    }

    .promo-block .promo-block-inner {
        padding: 30px 15px;
    }

    .promo-block .content-holder-inner {
        padding: 0;
    }

    .promo-block .promo-title {
        margin-bottom: 30px;
    }
}

/* Small devices (tablets, 768px and up) */
/* Medium devices (desktops, 992px and up) */
/* Large devices (large desktops, 1200px and up) */
/* ======= Landing Page ======= */
.landing-page .header {
    background: #35304e;
    color: rgba(255, 255, 255, 0.85);
    /*padding: 60px 0;*/
}

.landing-page .header a {
    color: #fff;
}

.landing-page .branding {
    text-transform: uppercase;
    margin-bottom: 20px;
}

.landing-page .branding .logo {
    font-size: 38px;
    margin-top: 0;
    margin-bottom: 0;
}

.landing-page .branding .text-bold {
    font-weight: 800;
    color: #fff;
}

.landing-page .branding .icon {
    font-size: 32px;
    color: #40babd;
}

.landing-page .tagline {
    font-weight: 600;
    font-size: 20px;
}

.landing-page .tagline p {
    margin-bottom: 5px;
}

.landing-page .tagline .text-highlight {
    color: #266f71;
}

.landing-page .fa-heart {
    color: #EA5395;
}

.landing-page .cta-container {
    margin-top: 30px;
}

.landing-page .social-container {
    margin-top: 30px;
}

.landing-page .social-container .twitter-tweet {
    display: inline-block;
    margin-right: 5px;
    position: relative;
    top: 5px;
}

.landing-page .social-container .fab-like {
    display: inline-block;
}

#cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#cards-wrapper .item {
    flex: 0 1 33%;
}

.cards-section {
    padding: 60px 0;
}

.cards-gray {
    background: #f9f9fb;
}

.cards-section .title {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: 600;
}

.cards-section .intro {
    margin: 0 auto;
    max-width: 800px;
    margin-bottom: 60px;
    color: #616670;
}

.cards-section .cards-wrapper {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.cards-section .item {
    margin-bottom: 30px;
}

.cards-section .item .icon-holder {
    margin-bottom: 15px;
}

.cards-section .item .icon {
    font-size: 36px;
}

.cards-section .item .title {
    font-size: 16px;
    font-weight: 600;
}

.cards-section .item .intro {
    margin-bottom: 15px;
}

.cards-section .item-inner {
    padding: 45px 30px;
    background: #fff;
    position: relative;
    border: 1px solid #f0f0f0;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}

.cards-section .item-inner .link {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    background-image: url("../images/empty.gif");
    /* for IE8 */
}

.cards-section .item-inner:hover {
    background: #f5f5f5;
}

.cards-section .item-primary .item-inner {
    border-top: 3px solid #40babd;
}

.cards-section .item-primary .item-inner:hover .title {
    color: #2d8284;
}

.cards-section .item-primary .icon {
    color: #40babd;
}

.cards-section .item-green .item-inner {
    border-top: 3px solid #75c181;
}

.cards-section .item-green .item-inner:hover .title {
    color: #48a156;
}

.cards-section .item-green .icon {
    color: #75c181;
}

.cards-section .item-blue .item-inner {
    border-top: 3px solid #58bbee;
}

.cards-section .item-blue .item-inner:hover .title {
    color: #179de2;
}

.cards-section .item-blue .icon {
    color: #58bbee;
}

.cards-section .item-orange .item-inner {
    border-top: 3px solid #F88C30;
}

.cards-section .item-orange .item-inner:hover .title {
    color: #d46607;
}

.cards-section .item-orange .icon {
    color: #F88C30;
}

.cards-section .item-red .item-inner {
    border-top: 3px solid #f77b6b;
}

.cards-section .item-red .item-inner:hover .title {
    color: #f33a22;
}

.cards-section .item-red .icon {
    color: #f77b6b;
}

.cards-section .item-pink .item-inner {
    border-top: 3px solid #EA5395;
}

.cards-section .item-pink .item-inner:hover .title {
    color: #d61a6c;
}

.cards-section .item-pink .icon {
    color: #EA5395;
}

.cards-section .item-purple .item-inner {
    border-top: 3px solid #8A40A7;
}

.cards-section .item-purple .item-inner:hover .title {
    color: #5c2b70;
}

.cards-section .item-purple .icon {
    color: #8A40A7;
}

/* Extra small devices (phones, less than 768px) */
@media (max-width: 767px) {
    .cards-section .item-inner {
        padding: 30px 15px;
    }

    #cards-wrapper .item {
        flex: 0 1 49%;
    }
}

@media (max-width: 400px) {
    #cards-wrapper .item {
        flex: 0 1 99%;
    }
}

/* Small devices (tablets, 768px and up) */
/* Medium devices (desktops, 992px and up) */
/* Large devices (large desktops, 1200px and up) */

.highlight  { background: #ffffff; }
.highlight .c { color: #999988; font-style: italic } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { font-weight: bold } /* Keyword */
.highlight .o { font-weight: bold } /* Operator */
.highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */
.highlight .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
.highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */
.highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
.highlight .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gr { color: #aa0000 } /* Generic.Error */
.highlight .gh { color: #999999 } /* Generic.Heading */
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
.highlight .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */
.highlight .go { color: #888888 } /* Generic.Output */
.highlight .gp { color: #555555 } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #aaaaaa } /* Generic.Subheading */
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
.highlight .kc { font-weight: bold } /* Keyword.Constant */
.highlight .kd { font-weight: bold } /* Keyword.Declaration */
.highlight .kp { font-weight: bold } /* Keyword.Pseudo */
.highlight .kr { font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */
.highlight .m { color: #009999 } /* Literal.Number */
.highlight .s { color: #d14 } /* Literal.String */
.highlight .na { color: #008080 } /* Name.Attribute */
.highlight .nb { color: #0086B3 } /* Name.Builtin */
.highlight .nc { color: #445588; font-weight: bold } /* Name.Class */
.highlight .no { color: #008080 } /* Name.Constant */
.highlight .ni { color: #800080 } /* Name.Entity */
.highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #990000; font-weight: bold } /* Name.Function */
.highlight .nn { color: #555555 } /* Name.Namespace */
.highlight .nt { color: #000080 } /* Name.Tag */
.highlight .nv { color: #008080 } /* Name.Variable */
.highlight .ow { font-weight: bold } /* Operator.Word */
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
.highlight .mf { color: #009999 } /* Literal.Number.Float */
.highlight .mh { color: #009999 } /* Literal.Number.Hex */
.highlight .mi { color: #009999 } /* Literal.Number.Integer */
.highlight .mo { color: #009999 } /* Literal.Number.Oct */
.highlight .sb { color: #d14 } /* Literal.String.Backtick */
.highlight .sc { color: #d14 } /* Literal.String.Char */
.highlight .sd { color: #d14 } /* Literal.String.Doc */
.highlight .s2 { color: #d14 } /* Literal.String.Double */
.highlight .se { color: #d14 } /* Literal.String.Escape */
.highlight .sh { color: #d14 } /* Literal.String.Heredoc */
.highlight .si { color: #d14 } /* Literal.String.Interpol */
.highlight .sx { color: #d14 } /* Literal.String.Other */
.highlight .sr { color: #009926 } /* Literal.String.Regex */
.highlight .s1 { color: #d14 } /* Literal.String.Single */
.highlight .ss { color: #990073 } /* Literal.String.Symbol */
.highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */
.highlight .vc { color: #008080 } /* Name.Variable.Class */
.highlight .vg { color: #008080 } /* Name.Variable.Global */
.highlight .vi { color: #008080 } /* Name.Variable.Instance */
.highlight .il { color: #009999 } /* Literal.Number.Integer.Long */

.styled-table {
    width: 100%;
}

.styled-table td, .styled-table th {
    padding: 0.6em 0.6em;
    border: 1px solid #8A40A7;
}

.styled-table td code {
    white-space: nowrap;
}

.styled-table th {
    background: #8A40A7;
    color: white;
}

code.highlighter-rouge {
    background: transparent !important;
    color: #4A40A7 !important;
    font-size: 90% !important;
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace !important;
    padding: 2px 4px !important;
    /*border-radius: 4px !important;*/
    border-radius: 0 !important;
}

.note {
    background: #ecedfb;
    padding: 1.0em 1.8em;
    border-left: 4px solid #8944A5;
    color: #082d46;
}

.note:before {
    content: "注";
    color: #c1a9d0;
    display: block;
    letter-spacing: 0.1em;
    margin-bottom: 0.6em;
    font-size: 0.9em;
}

.note.tip:before { content: "小贴士"; }
.note.artifact:before { content: "构件"; }
.note.api:before { content: "API"; }
.note.experimental:before { content: "实验性的"; }
.note.summarizing:before { content: "总结"; }
.note.example:before { content: "示例"; }
.note.performance:before { content: "性能说明"; font-weight: bold; }
.note.security:before { content: "安全说明"; font-weight: bold; }
.note.contact:before { content: "联系方式"; font-weight: bold; }
.note.exercise:before { content: "练习"; font-weight: bold; }
.note.artifact-small {
    font-size: 0.8em;
}

.compact {
    position: relative;
    max-height: 120px;
    overflow-x: auto;
    overflow-y: hidden;
    text-overflow: ellipsis;
    margin: 0.5em 0 1em 0;
}

.compact_open {
    position: absolute;
    left: -1em;
    top: 0%;
    width: 2em;
    height: 2em;
    background: white;
    border: 3px solid #eee;
    border-radius: 100%;
    text-align: center;
    vertical-align: center;
    cursor: pointer;
    display: block;
    opacity: 0.0;
    z-index: 1000;
    padding-left: 0.5em;
}
.compact:hover .compact_open {
    display: block;
    opacity: 1.0;
    transition: 0.2s opacity;
}
.compact .compact_open:hover {
    background: #eee;
}

/* for mobile/touch devices */
@media (hover: none) {
    .compact .compact_open {
        display: block !important;
        opacity: 1.0 !important;
    }
}

.compact:after {
    content:"";
    position:absolute;
    bottom:0;
    left:0;
    height:40px;
    width:100%;
    background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    visibility: visible;
}

.compact.expand {
    max-height: 2000px !important;
}

/* TRANSITION (performance impact) */
/*
.compact, .compact.expand { transition: max-height 0.5s; }
*/

.compact.expand:after {
    visibility: hidden;
}

pre.highlight {
    border-radius: 0;
    border: none;
    border-left: 4px solid #eee;
}

/* COLORS: */

.body-orange .note {
    border-color: orange;
}

.error .highlight {
    background: #fffafa;
}

.success .highlight {
    background: #fafffa;
}

a.anchored-heading {
    color: black;
}

a.anchored-heading:hover {
    color: black;
    text-decoration: none;
}

a.anchored-heading:before {
    content: '#';
    float: left;
    position: relative;
    margin-left: -1em;
    color: #aaa;
    visibility: hidden;
}

a.anchored-heading:hover:before, .anchored-note:hover:before,
a.anchored-heading.anchored-heading-fixed:before
{
    visibility: visible;
}

.doc-content img {
    max-width: 100%;
}

.doc-content .hint-section {
    color: #663308;
    background: #f7ecb5;
    border-radius: 1em;
    padding: 1em;
}

h1 a.anchored-heading {
    color: inherit;
}

h1 a.anchored-heading:hover {
    color: inherit;
    text-decoration: none;
}

.search-results-inline-container {
    position: relative;
}

.search-results-inline-container .search-results {
    background: white;
    position: absolute;
    border: 1px solid #f0f0f0;
    width: 100%;
    padding: 4px 8px;
    border-top: none;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.search-results-inline-container .search-results li {
}

.search-results-inline-container .search-results li a {
    color: #203060;
}

.search-results-inline-container .search-results:empty {
    display: none;
}

.search-results-inline-container .search-results li.google-search {
    border-top: 1px dotted #eee;
}

.search-results-inline-container .search-results li.hash {
    font-weight: bold;
}

.search-results-inline-container .search-results li.google-search:only-child {
    border-top: none;
}


.search-results-inline-container .search-results li.google-search a {
    color:#999;
}

.search-results-inline-container .search-results li.google-search a code {
    color:#3b5998;
}

.search-results li.active {
    background: #eee;
}

#search-results-container li a {
    display: block;
    width: 100%;
}

li.section-main {
    /*
    font-size: 1.2em;
    background: #d5e1ee;
    color: white;
    */
}

.collapse._is-open {
    display: block;
}
.sidebar-active {
    font-weight: bold;
}

.sidebar-inner-block {
    padding-left: 24px;
}

table td, table th {
    vertical-align: top;
}

table.compare-table {
    border: 2px solid #aaa;
    margin-bottom: 8px;
    width: 100%;
}

table.compare-table tr {
}

table.compare-table td, table.compare-table th {
    padding: 8px;
    width: 50%;
}

table.compare-table pre.highlight {
    border: 0;
}

.rounded-shadow {
    box-shadow: 0px 0px 10px #999;
    border-radius: 8px;
    margin-bottom: 8px;
    margin-left: 8px; /* To compensate .doc-content overflow hidden, or the shadow looks strange */
}

.nomnoml {
    display: none;
}

pre {
    background: transparent;
    border: none;
}

pre .language-nomnoml {
    display: none;
}

.artifact-tab-content {
    background: white;
    padding: 8px;
    border: 1px solid #ddd;
    border-top: transparent;
    position: relative;
    top: -1px;
}

p {
    line-height: 1.7;
}

h2 {
    font-weight: bold;
}

h3, h3 a, h3 a.anchored-heading {
    font-weight: bold;
    font-style: italic;
    color: #666;
}

.search-separator {
    color: #aaa;
}

.highlight.highlighter {
    background: yellow;
    border-radius: 0.4em;
    /*
    padding: 2px;
    position: relative;
    left: -2px;
    */
}

.search-section { color: #777; font-weight: bold; }
.search-section.Quick.Start { color: #75c181; }
.search-section.Servers { color: #8A40A7; }
.search-section.Clients { color: #F88C30; }
.search-section.Kotlinx { color: #58bbee; }
.search-section.Samples { color: #40babd; }
.search-section.Advanced { color: #f77b6b; }

.code-scroll {
    min-height: 200px;
    max-height: 50vh;
    overflow: auto;
    border: 1px solid #ddd;
    border-top: none;
}

.code-scroll-height {
    height: 50vh;
}

.code-scroll pre.highlight {
    border-left: none;
}

a.file-tab {
    white-space: pre;
    font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
}

.tab-content-title {
    display: none;
}

.doc-content ol, .doc-content ul {
    padding-left: 1.3em;
}

a.closeable-link:before {
    content: '▼ Close ';
}

a.closeable-link.closed:before {
    content: '► Open ';
}

ol.note, ul.note {
    padding-left: 2em;
}